/* Estilos para a seção principal */
#section-menu-oencontro {
    position: static;
}

/* Div principal */
.div-section-menu-oencontro {
    width: 100%;
    height: 1660px;
    background-color: #F9E8C9;
    align-items: left;
    text-align: left;
    padding-top: 50px;
    /* ADICIONADO: Move tudo para baixo sem perder a cor */    
}

.div-section-menu-oencontro-inicio {
    width: 90%;
    height:1580px;
    background-color: #FBF8EF;
    padding-top: 20px;
    margin-left: 48px;      
    align-items: center;
    text-align: center;
}

.text-section-menu-oencontro-titulo {
    font-weight: bold;
    padding-top: 75px;
    padding-bottom: 8px;
    color: #1A2DF3;
    font-size: 46px;
    line-height: normal;
    text-align: left;
    margin-left: 120px;
}

.text-section-menu-oencontro-subtitulo {
    font-size: 16px;
    color: #000000;
    text-align: left;
    line-height: 1.4;
    padding-top: 7px;
    padding-bottom: 20px;
    margin-left: 120px;
}

.text-section-menu-oencontro-subtitulo b{
    font-size: 16px;
    font-weight: bold;
}

.text-section-menu-oencontro-video-legenda {
    font-size: 10px;
    color: #000000;
    text-align: left;
    line-height: 1.4;
    margin-left: 215px;
}


/*---------------------------------------------------------------------------------------SLIDERS*/

.sliders-wrapper {
    display: flex;    
    gap: 12px; /* Espaço entre os sliders */
    flex-wrap: wrap; /* Permite que os sliders quebrem linha em telas menores */
    margin-left: 120px;  
}

.slider-container {
    position: relative;
    width: 235px;
    height: 220px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background-color: #FBF8EF;
    margin-bottom: 8px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    height: 260%;
    object-fit:cover;
    object-position: center;
    background-position: center;
    object-position: 50% 50%; /* even if we dont declare this the image will still be centered */
    max-width: 100%; /* Garante que a imagem não ultrapasse o container */
    max-height: 120%; /* Mantém a imagem dentro dos limites do container */
    margin-top: 33px; /* Ajuste o valor conforme necessário */
}

.legenda {
    position: absolute;
    bottom: -38px;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    color: black;
    text-align: center;
    padding: 12px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.slide:hover .legenda {
    opacity: 1;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: rgba(143, 143, 143, 0.192);
    border: none;
    padding: 20px 25px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 65px;
}

.prev { left: 2px; }
.next { right: 2px; }

.prev:hover, .next:hover {
    background-color: transparent;
    color: rgb(255, 255, 255);
}

.full-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.925);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.full-screen img {
    max-width: 85vw;
    max-height: 85vh;
}

.full-legenda {
    width: 100%;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 20px;
    font-size: 16px;
    position: absolute;
    bottom: 0;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 60px;    
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 30px;
    background-color: transparent;
    color: white;
}

.close-btn:hover{
    color:rgb(143, 143, 143);
}